Skip to content

Conversation

@netudima
Copy link
Contributor

Reduce memory allocation during transformation of BatchStatement to Mutation

Patch by Dmitry Konstantinov; reviewed by TBD or CASSANDRA-21141

…oving capturing arguments to SerializationHelper (same optimization as it was done in serializeRowBody)
…ingle partition key (a single row) to modify, optimize also the case if a partition or clustering key is a single column
…tten unconditionally, in this case we can avoid columns info merging and builders allocation
…red a read (plain usual write), avoid iterator allocation, use array instead of ArrayList for perStatementOptions which does not grow dynamically
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant